package com.tourism.service;

import com.tourism.common.Result;
import com.tourism.entity.LodgingInfo;

import java.util.List;

public interface LodgingInfoService {

   Result getLodgingList(Integer page, Integer pageSize, String name);

   Result getLodgingById(Integer id);

   Result addLodging(LodgingInfo lodgingInfo);

   Result updateLodging(LodgingInfo lodgingInfo);

   Result deleteLodging(Integer id);

   Result batchDeleteLodgings(List<Integer> ids);

   Result getAllLodgings();
}
